<?php /* Smarty version 2.6.26, created on 2010-05-30 15:18:57
         compiled from index.tpl.htm */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'index.tpl.htm', 13, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../header.tpl.htm", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../aside.tpl.htm", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

  <div class="product_list">
   <div class="right_bar"><h4>产品推荐</h4></div>
   <div class="product">
    <ul>

     <?php $_from = $this->_tpl_vars['top_products']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['top_product']):
?>
     <li>
      <div class="picture item_over">
        <a href="products/detail/id/<?php echo $this->_tpl_vars['top_product']['product_id']; ?>
">
	        <img src="userfiles/softwares/<?php echo ((is_array($_tmp=@$this->_tpl_vars['top_product']['filename'])) ? $this->_run_mod_handler('default', true, $_tmp, 'no_pic.gif') : smarty_modifier_default($_tmp, 'no_pic.gif')); ?>
" width="148px" height="112px"
	            align="absmiddle" /></a></div>
      <div class="pic_name item_over">
        <a href="products/detail/id/<?php echo $this->_tpl_vars['top_product']['product_id']; ?>
">
            <?php echo $this->_tpl_vars['top_product']['name']; ?>
</a></div>
      <div class="pic_name item_over">
        <?php if ($this->_tpl_vars['top_product']['price'] != 0): ?>
        <span>￥<?php echo $this->_tpl_vars['top_product']['price']; ?>
</span>
        <?php endif; ?>
      </div>
     </li>
     <?php endforeach; endif; unset($_from); ?>

    </ul>
   </div>
  </div>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../footer.tpl.htm", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>